package com.cunshe.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * 合作客户
 * @author xiao
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CooperativeCustomersInsertVO implements Serializable {

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称")
    @NotBlank(message = "[name]不能为空")
    @Size(max = 255, message = "${validatedValue}长度不能大于{max}")
    private String name;

    /**
     * logo图片地址
     */
    @ApiModelProperty(value = "logo图片地址")
    @NotBlank(message = "[logo]不能为空")
    @Size(max = 255, message = "${validatedValue}长度不能大于{max}")
    private String logo;

    private static final long serialVersionUID = 1L;
}